﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;
using Microsoft.Practices.Unity;
using Tencent.OA.ACM.Service.Interface;
using Tencent.OABanche.App;
using Tencent.OA.ACM.Entity;

namespace Tencent.OA.ACM.App.Controllers
{
    [HandleError]
    public class BusTypeController : BaseController
    {
        //[Dependency]
        //public IBusTypeService pxyBusType { get; set; }

        //public static List<SelectListItem> BindDropDownList()
        //{
        //    List<SelectListItem> selectList = new List<SelectListItem>();

        //    IBusTypeService ss = MvcApplication.GetIMPL<IBusTypeService>();
        //    IList<BusType> list = ss.FindAll();
        //    foreach (BusType cityInfo in list)
        //    {
        //        SelectListItem selectListItem = new SelectListItem();
        //        selectListItem.Text = cityInfo.BusTypeName;
        //        selectListItem.Value = cityInfo.BusTypeID.ToString();

        //        selectList.Add(selectListItem);
        //    }

        //    return selectList;
        //}

    }
}
